package com.vcommon.core.errors
{
import flash.utils.getQualifiedClassName;

/**
 * 实例化多个单列类时的SingletonError
 * author yangwz
 */		
public class SingletonError extends VCoreError
{
	public function SingletonError(instance:Object)
	{
		var message:String = "Only one " + 
			getQualifiedClassName(instance) + " instance can be instantiated.";
		super(message, 0);
	}
}
}